#ifndef __PORTAL_MD5_H__
#define __PORTAL_MD5_H__

#include <openssl/md5.h>
#include <openssl/des.h>
#include "portal.h"

extern void portal_md5(void *input, long length, char *digest);

extern void portal_dec_des_ecb(unsigned char *data, unsigned char *encbuf, unsigned long bufsize);

extern void portal_dec_des_ncbc(uchar *data, uchar *encbuf, ulong bufsize);
    
#endif /* __PORTAL_MD5_H__  */
